package com.myweb.entity.sys;

import java.util.Date;

import com.myweb.entity.common.BaseEntity;

/**
 * SysUser entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class SysUser extends BaseEntity implements java.io.Serializable {

	// Fields

	private Integer userId;
	private String loginName;
	private String userPwd;
	private String userName;
	private Integer personId;
	private String loginIp;
	private Integer creator;
	private Date createTime;
	private Date pwdUpdateTime;
	private Integer userSts;

	// Constructors

	/** default constructor */
	public SysUser() {
	}

	/** minimal constructor */
	public SysUser(String loginName, String userPwd) {
		this.loginName = loginName;
		this.userPwd = userPwd;
	}

	/** full constructor */
	public SysUser(String loginName, String userPwd, String userName,
			Integer personId, String loginIp, Integer creator, Date createTime,
			Date pwdUpdateTime, Integer userSts) {
		this.loginName = loginName;
		this.userPwd = userPwd;
		this.userName = userName;
		this.personId = personId;
		this.loginIp = loginIp;
		this.creator = creator;
		this.createTime = createTime;
		this.pwdUpdateTime = pwdUpdateTime;
		this.userSts = userSts;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getLoginName() {
		return this.loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getUserPwd() {
		return this.userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getPersonId() {
		return this.personId;
	}

	public void setPersonId(Integer personId) {
		this.personId = personId;
	}

	public String getLoginIp() {
		return this.loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public Integer getCreator() {
		return this.creator;
	}

	public void setCreator(Integer creator) {
		this.creator = creator;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getPwdUpdateTime() {
		return this.pwdUpdateTime;
	}

	public void setPwdUpdateTime(Date pwdUpdateTime) {
		this.pwdUpdateTime = pwdUpdateTime;
	}

	public Integer getUserSts() {
		return this.userSts;
	}

	public void setUserSts(Integer userSts) {
		this.userSts = userSts;
	}

}